package org.jsbd.boss.dao.impl;

import java.util.List;

import org.jsbd.boss.dao.IResidueStatisticsDAO;
import org.jsbd.boss.domian.statistics.ResidueStatistics;
import org.jsbd.boss.domian.statistics.ResidueStatisticsVo;
import org.springframework.stereotype.Repository;

@Repository("residueStatisticsDAO")
public class ResidueStatisticsDAOImpl extends CrackStatisticsBaseDao implements IResidueStatisticsDAO {

	@Override
	public List<ResidueStatistics> selectRecords(ResidueStatisticsVo redisueStatisticsVo) {
		return super.queryForList("qy_residue_statistics.SELECT_RECORDS", redisueStatisticsVo);
	}

	@Override
	public List<String> selectMinute(ResidueStatisticsVo redisueStatisticsVo) {
		return super.queryForList("qy_residue_statistics.SELECT_MINUTE", redisueStatisticsVo);
	}

	@Override
	public List<ResidueStatistics> selectSumRecords(ResidueStatisticsVo residueStatisticsVo) {
		return super.queryForList("qy_residue_statistics.SELECT_SUM_RECORDS", residueStatisticsVo);
	}

	@Override
	public List<String> selectSumSysvers(ResidueStatisticsVo residueStatisticsVo) {
		return super.queryForList("qy_residue_statistics.SELECT_SUM_SYSVERS", residueStatisticsVo);
	}

}
